package org.otherworld.command;

import java.util.Hashtable;

public class CommandCollector {
	private Hashtable<String,Command> commands;
	
	public CommandCollector() throws Exception {
		commands = new Hashtable<String,Command>();
		commands.put("display", new Display());
		commands.put("exit",new Exit());
		commands.put("edit", new TextLauncher());
		commands.put("view", new ViewLauncher());
		commands.put("help", new Help());
		commands.put("list", new List());
		commands.put("copy", new Copy());
		commands.put("image", new ImageCommand());
		commands.put("filebrowser", new FileBrowser());
		commands.put("open", new Open());
	}
	
	public Hashtable<String,Command> getCommands() {
		return this.commands;
	}
	

	
}
